inherited FRelatorioFatPorMunicipio: TFRelatorioFatPorMunicipio
  Left = 237
  Top = 226
  Width = 862
  Caption = 'VENDAS / FATURAMENTO /  RELAT'#211'RIOS'
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Width = 854
  end
  inherited Panel2: TPanel
    Width = 854
    Caption = 'NOTAS FISCAIS POR MUNIC'#205'PIO'
  end
  inherited GroupBox1: TGroupBox
    object Label10: TLabel
      Left = 19
      Top = 20
      Width = 59
      Height = 16
      Caption = 'Empresas'
    end
    object CLBEmpresas: TCheckListBox
      Left = 18
      Top = 38
      Width = 527
      Height = 69
      Columns = 1
      ItemHeight = 16
      TabOrder = 0
    end
    object GroupBox3: TGroupBox
      Left = 18
      Top = 112
      Width = 441
      Height = 111
      Caption = '  Nota Fsical  '
      TabOrder = 1
      object Label3: TLabel
        Left = 73
        Top = 19
        Width = 55
        Height = 16
        Caption = 'Munic'#237'pio'
      end
      object Label4: TLabel
        Left = 17
        Top = 19
        Width = 17
        Height = 16
        Caption = 'UF'
      end
      object Label6: TLabel
        Left = 17
        Top = 64
        Width = 51
        Height = 16
        Caption = 'Emiss'#227'o'
      end
      object dblMunicipio: TDBLookupComboBox
        Left = 73
        Top = 37
        Width = 337
        Height = 22
        KeyField = 'MU_CODIGO'
        ListField = 'MU_VCNOME'
        ListSource = dsMunicipio
        TabOrder = 0
      end
      object dblUf: TDBLookupComboBox
        Left = 17
        Top = 37
        Width = 49
        Height = 22
        KeyField = 'MU_UF'
        ListField = 'MU_UF'
        ListSource = dsUf
        TabOrder = 1
      end
      object edDtEmissaoIni: TDateEdit
        Left = 17
        Top = 83
        Width = 100
        Height = 21
        NumGlyphs = 2
        TabOrder = 2
      end
      object edDtEmissaoFim: TDateEdit
        Left = 126
        Top = 83
        Width = 100
        Height = 21
        NumGlyphs = 2
        TabOrder = 3
      end
    end
    object GroupBox4: TGroupBox
      Left = 18
      Top = 233
      Width = 441
      Height = 108
      Caption = '  Cliente  '
      TabOrder = 2
      object Label5: TLabel
        Left = 17
        Top = 17
        Width = 77
        Height = 16
        Caption = 'Raz'#227'o Social'
      end
      object Label7: TLabel
        Left = 17
        Top = 63
        Width = 17
        Height = 16
        Caption = 'UF'
      end
      object dblCliente: TDBLookupComboBox
        Left = 16
        Top = 35
        Width = 393
        Height = 22
        KeyField = 'CLI_CODIGO'
        ListField = 'CLI_RAZAO'
        ListSource = dsCliente
        TabOrder = 0
      end
      object DBLUFCliente: TDBLookupComboBox
        Left = 17
        Top = 81
        Width = 49
        Height = 22
        KeyField = 'CLI_ESTADOCORRESP'
        ListField = 'CLI_ESTADOCORRESP'
        ListSource = DSUFCLiente
        TabOrder = 1
      end
    end
  end
  inherited RLReport: TRLReport
    Left = -8
    Top = 437
    DataSource = DSPesquisa
    object rlgUf: TRLGroup
      Left = 38
      Top = 120
      Width = 718
      Height = 211
      DataFields = 'MU_UF'
      object rlColumUf: TRLBand
        Left = 0
        Top = 15
        Width = 718
        Height = 16
        BandType = btColumnHeader
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = []
        PageBreaking = pbBeforePrint
        ParentFont = False
        object RLDBText2: TRLDBText
          Left = 2
          Top = 0
          Width = 82
          Height = 14
          DataField = 'MU_UF'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          Text = 'Estado: '
          BeforePrint = RLDBText2BeforePrint
        end
      end
      object rlgMunicipio: TRLGroup
        Left = 0
        Top = 31
        Width = 718
        Height = 130
        DataFields = 'MU_VCNOME'
        object rlColumMunicipio: TRLBand
          Left = 0
          Top = 0
          Width = 718
          Height = 16
          BandType = btColumnHeader
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          object RLDBText3: TRLDBText
            Left = 32
            Top = 0
            Width = 132
            Height = 14
            DataField = 'MU_VCNOME'
            DataSource = DSPesquisa
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = [fsBold]
            ParentFont = False
            Text = 'Munic'#237'pio: '
            BeforePrint = RLDBText3BeforePrint
          end
        end
        object rlGClientes: TRLGroup
          Left = 0
          Top = 16
          Width = 718
          Height = 65
          DataFields = 'CLI_RAZAO'
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          object rlColumClientes: TRLBand
            Left = 0
            Top = 0
            Width = 718
            Height = 16
            BandType = btColumnHeader
            Borders.Sides = sdCustom
            Borders.DrawLeft = False
            Borders.DrawTop = True
            Borders.DrawRight = False
            Borders.DrawBottom = False
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
            object RLDBText4: TRLDBText
              Left = 64
              Top = 0
              Width = 385
              Height = 14
              AutoSize = False
              DataField = 'CLI_RAZAO'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              Text = 'Cliente: '
              BeforePrint = RLDBText4BeforePrint
            end
            object RLDBText11: TRLDBText
              Left = 462
              Top = 0
              Width = 250
              Height = 14
              AutoSize = False
              DataField = 'CLI_CPFCNPJ'
              DataSource = DSPesquisa
              Font.Charset = DEFAULT_CHARSET
              Font.Color = clBlack
              Font.Height = -11
              Font.Name = 'Arial'
              Font.Style = [fsBold]
              ParentFont = False
              Text = 'CPF/CNPJ: '
            end
          end
          object rlDetalhe: TRLBand
            Left = 0
            Top = 16
            Width = 718
            Height = 15
            Font.Charset = DEFAULT_CHARSET
            Font.Color = clBlack
            Font.Height = -11
            Font.Name = 'Arial'
            Font.Style = []
            ParentFont = False
            object RLDBText5: TRLDBText
              Left = 152
              Top = 0
              Width = 81
              Height = 14
              AutoSize = False
              DataField = 'NF_NUMERONF'
              DataSource = DSPesquisa
              BeforePrint = RLDBText5BeforePrint
            end
            object RLDBText6: TRLDBText
              Left = 510
              Top = 0
              Width = 64
              Height = 14
              Alignment = taRightJustify
              DataField = 'NF_PERCISS'
              DataSource = DSPesquisa
              BeforePrint = RLDBText6BeforePrint
            end
            object RLDBText7: TRLDBText
              Left = 631
              Top = 0
              Width = 75
              Height = 14
              Alignment = taRightJustify
              DataField = 'NF_VALORISS'
              DataSource = DSPesquisa
              BeforePrint = RLDBText7BeforePrint
            end
            object RLDBText8: TRLDBText
              Left = 708
              Top = 0
              Width = 9
              Height = 14
              AutoSize = False
              DataField = 'NF_RETEMISS'
              DataSource = DSPesquisa
              BeforePrint = RLDBText8BeforePrint
            end
            object RLDBText9: TRLDBText
              Left = 248
              Top = 0
              Width = 97
              Height = 14
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'NF_VALORFINALNOTA'
              DataSource = DSPesquisa
              BeforePrint = RLDBText9BeforePrint
            end
            object RLDBText10: TRLDBText
              Left = 376
              Top = 1
              Width = 73
              Height = 14
              Alignment = taRightJustify
              AutoSize = False
              DataField = 'NF_DATAEMISSAO'
              DataSource = DSPesquisa
            end
          end
          object RLBand3: TRLBand
            Left = 0
            Top = 31
            Width = 718
            Height = 34
            BandType = btSummary
            Borders.Sides = sdCustom
            Borders.DrawLeft = False
            Borders.DrawTop = False
            Borders.DrawRight = False
            Borders.DrawBottom = False
            object rlTrCliente: TRLLabel
              Left = 616
              Top = 2
              Width = 90
              Height = 14
              Alignment = taRightJustify
              AutoSize = False
              Borders.Sides = sdCustom
              Borders.DrawLeft = False
              Borders.DrawTop = True
              Borders.DrawRight = False
              Borders.DrawBottom = False
              Borders.Style = bsCross
            end
            object rlTnrCliente: TRLLabel
              Left = 616
              Top = 16
              Width = 90
              Height = 14
              Alignment = taRightJustify
              AutoSize = False
            end
            object RLLabel7: TRLLabel
              Left = 480
              Top = 2
              Width = 112
              Height = 14
              Alignment = taRightJustify
              Caption = 'Total Retido do Cliente:'
            end
            object RLLabel8: TRLLabel
              Left = 459
              Top = 16
              Width = 133
              Height = 14
              Alignment = taRightJustify
              Caption = 'Total n'#227'o Retido do Cliente:'
            end
            object RLDBResult1: TRLDBResult
              Left = 196
              Top = 16
              Width = 149
              Height = 14
              Alignment = taRightJustify
              DataField = 'NF_VALORFINALNOTA'
              DataSource = DSPesquisa
              DisplayMask = '#,##0.00'
              Info = riSum
              ResetAfterPrint = True
            end
          end
        end
        object RLBand4: TRLBand
          Left = 0
          Top = 81
          Width = 718
          Height = 40
          BandType = btSummary
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -11
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
          object rlTrMunicipio: TRLLabel
            Left = 643
            Top = 8
            Width = 63
            Height = 14
            Alignment = taRightJustify
          end
          object rlTnrMunicipio: TRLLabel
            Left = 637
            Top = 22
            Width = 69
            Height = 14
            Alignment = taRightJustify
          end
          object RLLabel9: TRLLabel
            Left = 468
            Top = 8
            Width = 124
            Height = 14
            Alignment = taRightJustify
            Caption = 'Total Retido do Munic'#237'pio:'
          end
          object RLLabel10: TRLLabel
            Left = 447
            Top = 22
            Width = 145
            Height = 14
            Alignment = taRightJustify
            Caption = 'Total n'#227'o Retido do Munic'#237'pio:'
          end
          object RLDBResult2: TRLDBResult
            Left = 196
            Top = 24
            Width = 149
            Height = 14
            Alignment = taRightJustify
            DataField = 'NF_VALORFINALNOTA'
            DataSource = DSPesquisa
            DisplayMask = '#,##0.00'
            Info = riSum
            ResetAfterPrint = True
          end
        end
      end
      object RLBand2: TRLBand
        Left = 0
        Top = 0
        Width = 718
        Height = 15
        BandType = btHeader
        Borders.Sides = sdCustom
        Borders.DrawLeft = False
        Borders.DrawTop = True
        Borders.DrawRight = False
        Borders.DrawBottom = True
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        object RLLabel1: TRLLabel
          Left = 152
          Top = 0
          Width = 16
          Height = 14
          Caption = 'NF'
        end
        object RLLabel3: TRLLabel
          Left = 526
          Top = 0
          Width = 48
          Height = 14
          Caption = 'Al'#237'quota'
        end
        object RLLabel4: TRLLabel
          Left = 639
          Top = 0
          Width = 69
          Height = 14
          Alignment = taRightJustify
          Caption = 'Valor do ISS'
        end
        object RLLabel5: TRLLabel
          Left = 297
          Top = 1
          Width = 48
          Height = 14
          Caption = 'NF Valor'
        end
        object RLLabel6: TRLLabel
          Left = 398
          Top = 1
          Width = 50
          Height = 14
          Caption = 'Emiss'#227'o'
        end
      end
      object RLBand5: TRLBand
        Left = 0
        Top = 161
        Width = 718
        Height = 45
        BandType = btSummary
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -11
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        object rlTrUf: TRLLabel
          Left = 672
          Top = 8
          Width = 34
          Height = 14
          Alignment = taRightJustify
        end
        object rlTnrUf: TRLLabel
          Left = 665
          Top = 22
          Width = 41
          Height = 14
          Alignment = taRightJustify
        end
        object RLLabel11: TRLLabel
          Left = 464
          Top = 8
          Width = 128
          Height = 14
          Alignment = taRightJustify
          Caption = 'Total Retido do Estado:'
        end
        object RLLabel12: TRLLabel
          Left = 441
          Top = 22
          Width = 151
          Height = 14
          Alignment = taRightJustify
          Caption = 'Total n'#227'o Retido do Estado:'
        end
        object RLDBResult3: TRLDBResult
          Left = 188
          Top = 22
          Width = 157
          Height = 14
          Alignment = taRightJustify
          DataField = 'NF_VALORFINALNOTA'
          DataSource = DSPesquisa
          DisplayMask = '#,##0.00'
          Info = riSum
          ResetAfterPrint = True
        end
      end
    end
    object RLBand6: TRLBand
      Left = 38
      Top = 331
      Width = 718
      Height = 40
      BandType = btSummary
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = True
      Borders.DrawRight = False
      Borders.DrawBottom = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clBlack
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = [fsBold]
      ParentFont = False
      BeforePrint = RLBand6BeforePrint
      object RLDBResult4: TRLDBResult
        Left = 157
        Top = 2
        Width = 188
        Height = 16
        Alignment = taRightJustify
        DataField = 'NF_VALORFINALNOTA'
        DataSource = DSPesquisa
        DisplayMask = '#,##0.00'
        Info = riSum
      end
      object rlRTotalGeral: TRLLabel
        Left = 617
        Top = 2
        Width = 89
        Height = 16
        Alignment = taRightJustify
      end
      object rlNrTotalGeral: TRLLabel
        Left = 612
        Top = 20
        Width = 94
        Height = 16
        Alignment = taRightJustify
      end
      object RLLabel14: TRLLabel
        Left = 8
        Top = 2
        Width = 75
        Height = 16
        Caption = 'Total Geral'
      end
      object RLLabel15: TRLLabel
        Left = 441
        Top = 2
        Width = 151
        Height = 16
        Alignment = taRightJustify
        Caption = 'Total Retido do Estado:'
      end
      object RLLabel16: TRLLabel
        Left = 441
        Top = 20
        Width = 151
        Height = 16
        Alignment = taRightJustify
        Caption = 'Total Retido do Estado:'
      end
    end
  end
  inherited QPesquisa: TQuery
    Left = 648
    Top = 161
  end
  inherited DSPesquisa: TDataSource
    Left = 704
    Top = 214
  end
  object dsCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 704
    Top = 168
  end
  object dsMunicipio: TDataSource
    DataSet = DMGestao.QMunicipio
    Left = 760
    Top = 192
  end
  object dsUf: TDataSource
    DataSet = DMGestao.QUF
    Left = 752
    Top = 120
  end
  object QUFCLiente: TQuery
    Active = True
    DatabaseName = 'base'
    SQL.Strings = (
      'SELECT'
      ' distinct(cliente.cli_estadocorresp)'
      'FROM'
      '  cliente')
    Left = 520
    Top = 225
  end
  object DSUFCLiente: TDataSource
    DataSet = QUFCLiente
    Left = 536
    Top = 280
  end
end
